<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<form id="detailForm" method="post" style="padding: 30 30 30 30;margin-top:20px;" enctype="multipart/form-data">
    <div style="width:430;float:left;height:140px;">
    
    <div class="detail-form-item">
	<label for="">学生姓名</label>
		<input type="hidden" name="payrecord" style="width:200px" value="${pay.id}">
		<input  data-options="readonly:true,required:true" class="easyui-textbox" name="" style="width:200px" value="${pay.student.name}">
	</div>
	<div class="detail-form-item required">
	
	<input type="hidden" value="${detailId}" name="payrecord">
	<input type="hidden" value="${detail.id}" name="id">
		<label for="">本次缴费金额</label>
		
		<%-- <input type="hidden" value = "${detail.payrecord.id}" id="detailId" name="payrecord"> --%>
		<input data-options="required:true" type="text" class="easyui-numberbox" name="money" value="${detail.money }" id="money"/>
	</div>
	<div class="detail-form-item required" >
		<label for="">缴费类型</label>
		<select id="identity" class="easyui-combobox" style="width:200px;"data-options="panelHeight:'auto',editable:false" name="payType" >
				<option>${detail.payType}</option>
				<option>第一学期</option>
				<option>第二学期</option>
				<option>第三学期</option>
		</select>
	</div>
	<div class="detail-form-item required">
		<label for="">缴费方式</label>
		<select id="identity" class="easyui-combobox" style="width:200px;"data-options="panelHeight:'auto',editable:false" name="payWay" >
				<option>${detail.payWay}</option>
				<option>现金</option>
				<option>网银</option>
		</select>
	</div>

	</div>
	<div class="detail-form-item required">
	<label for="">缴费时间</label>
		<input data-options="required:true,editable:false" class="easyui-datebox" name="payTime" style="width:200px" value="${detail.payTime}">
	</div>
	<div class="detail-form-item required">
		<label for="">员工姓名</label>
		<select id="identity" class="easyui-combobox" style="width:200px;"data-options="panelHeight:'auto'" name="emp">
					<c:forEach items="${emp}" var="emp">
						<option  value="${emp.tb_emp_id}" ${emp.emp_name == detail.emp['name'] ? 'selected' :''}>${emp.emp_name}</option>
					</c:forEach>
		</select>
	</div>
	<div class="detail-form-item required">
		
		<label for="">收款凭据</label>
			<input accept="image/jpeg,image/jpg, image/png" data-options="required:true,prompt:'选择文件'" class="easyui-filebox" name="file" style="width: 200px"  />
	</div>
		
</form>